package com.jf.identity.mongo.impl;

import com.jf.identity.entity.VerifyInfo;
import com.jf.identity.mongo.AbstractBaseMongoTemplete;
import com.jf.identity.mongo.VerifyInfoDao;
import org.springframework.stereotype.Repository;

/**
 * @author FCG
 */
@Repository
public class VerifyInfoDaoImpl extends AbstractBaseMongoTemplete implements VerifyInfoDao {
    @Override
    public int insertVerfifyInfo(VerifyInfo verifyInfo) {
        mongoTemplate.insert(verifyInfo);
        return 0;
    }

//    @Override
//    public int insertVerifyAbnormalInfo(VerifyAbnormalInfo verifyAbnormalInfo) {
//        mongoTemplate.insert(verifyAbnormalInfo);
//        return 0;
//    }
}
